var datos = $.ajax({
    		url:'datostemperatura_area',
    		type:'post',
    		dataType:'json',
    		async:false    		
    	}).responseText;
      datos = JSON.parse(datos);        
      google.load("visualization", "1", {packages:["corechart"]});
      //google.setOnLoadCallback(drawVisualization);
      google.setOnLoadCallback(drawChart);
      function drawChart() {
//        var data = google.visualization.arrayToDataTable([
//          ['Year', 'Sales', 'Expenses'],
//          ['2013',  1000,      400],
//          ['2014',  1170,      460],
//          ['2015',  660,       1120],
//          ['2016',  1030,      540]
//        ]);
        var data = google.visualization.arrayToDataTable(datos);

        var options = {
          title: 'Temperatura',
          hAxis: {title: 'Tiempo',  titleTextStyle: {color: '#333'}},
          vAxis: {minValue: 10},
          width:1500,
          height:400
        };

        var chart = new google.visualization.AreaChart(document.getElementById('chart_div'));
        chart.draw(data, options);
      }
